{"version":3,"sources":["login/login.js"],"names":["ipcRenderer","electron","form","document","getElementById","addEventListener","event","preventDefault","username","value","password","send"],"mappings":";;AAAA;;;;;;IAEQA,W,GAAgBC,kB,CAAhBD,W;;;AAER,IAAME,OAAOC,SAASC,cAAT,CAAwB,YAAxB,CAAb;;AAEAF,KAAKG,gBAAL,CAAsB,QAAtB,EAAgC,UAACC,KAAD,EAAW;AACzCA,QAAMC,cAAN;AACA,MAAMC,WAAWL,SAASC,cAAT,CAAwB,gBAAxB,EAA0CK,KAA3D;AACA,MAAMC,WAAWP,SAASC,cAAT,CAAwB,gBAAxB,EAA0CK,KAA3D;AACAT,cAAYW,IAAZ,CAAiB,eAAjB,EAAkC,CAACH,QAAD,EAAWE,QAAX,CAAlC;AACD,CALD","file":"login.js","sourcesContent":["import electron from 'electron';\n\nconst { ipcRenderer } = electron;\n\nconst form = document.getElementById('login-form');\n\nform.addEventListener('submit', (event) => {\n  event.preventDefault();\n  const username = document.getElementById('username-input').value;\n  const password = document.getElementById('password-input').value;\n  ipcRenderer.send('login-message', [username, password]);\n});\n"]}